import 'dart:developer';

import 'package:flutter/material.dart';

class MyPage extends StatefulWidget {
  const MyPage({super.key});

  @override
  State<MyPage> createState() => _MyPageState();
}

class _MyPageState extends State<MyPage> {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: ListTile(
        title: const Text("我的"),
        trailing: ElevatedButton(
          onPressed: () {
            log("message");
            Navigator.pushNamed(context, "/login/phone");
          },
          child: const Text("登录"),
        ),
      ),
    );
  }
}
